package licode.unisop.oidc.auth.api;

import licode.unisop.oidc.auth.modal.AuthInfo;
import licode.unisop.oidc.auth.modal.AuthorClient;
import licode.unisop.oidc.auth.modal.AuthorContext;
import licode.unisop.oidc.auth.modal.AuthorRedirectUrl;

/**
 * 平台校验API
 *
 * @author licode
 */
public interface AuthChecker {
    void checkPlatform(String platformId);
    void checkRedirectUrl(AuthorRedirectUrl info);

    void checkClient(AuthorClient info);
    void checkScope(AuthorClient info);

    void checkAuth(AuthInfo authInfo, AuthorContext context);
}
